﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using FazaDemo.PL.Wpf;
using FazaDemo.PL.Wpf.Browser;

namespace FazaDemo.PL.Wpf.Browser
{
    public class WorkAreaFactory
    {

        public Page GetPage(EventHandler<EventArgs> viewEvent)
        {
            var area = new WorkArea();
            area.ViewEvent += viewEvent;
            return area;
        }

    }
}
